package com.jinmdz.fmis.core.model;


import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 殡仪馆查询实体
 *
 * @author GuanKui
 * @date 2020/2/24 13:48
 */
@ApiModel(value = "殡仪馆查询实体", description = "殡仪馆查询实体")
public class SearchLoadData<T> extends BaseBean {
    /**
     * 当前页数据集合
     */
    @ApiModelProperty(value = "当前页数据集合", name = "list", position = 1)
    private List<T> list;

    /**
     * 分页信息
     */
    @ApiModelProperty(value = "分页信息", name = "pager", position = 2)
    private SearchPageItem pager;

    public List<T> getList() {
        return list;
    }

    public SearchLoadData setList(List<T> list) {
        this.list = list;
        return this;
    }

    public SearchPageItem getPager() {
        return pager;
    }

    public SearchLoadData setPager(SearchPageItem pager) {
        this.pager = pager;
        return this;
    }
}
